//
//  NSString+RLSandBoxPath.m
//  01-simpleContactList
//
//  Created by relax on 2017/7/21.
//  Copyright © 2017年 relax. All rights reserved.
//

#import "NSString+RLSandBoxPath.h"

@implementation NSString (RLSandBoxPath)

+ (NSString *)homePath
{
    return NSHomeDirectory();
}

+ (NSString *)documentPath
{
    return NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES).firstObject;
}

+ (NSString *)cachePath
{
    return  NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject;
}

+ (NSString *)tempPath
{
    return NSTemporaryDirectory();
}

@end
